package com.ruoyi.common.client;

import com.dtflys.forest.annotation.Get;
import com.ruoyi.common.vo.PartnerResponse;
import com.ruoyi.common.vo.SpuPartnerResponse;

/**
 * 合作者调用客户端
 * @author 周栋
 */
public interface PartnerClient {
    
    /**
     * 获取所有老师
     * @return
     */
    @Get(url = "https://live.azavt.com/ucenter/manager/list?name=${0}", dataType = "json")
    PartnerResponse loadAllPartners(String name);

    /**
     * 获取所有老师(SPU老师)
     * @return
     */
    @Get(url = "http://trade.dmtz.com.cn/product/spu/listSpuSimply?name=${0}", dataType = "json")
    SpuPartnerResponse loadAllSpuPartners(String name);


}